定期ミートアップ 第52回
来週 https://matsue.rubyist.net/matrk10/
Shiika
LLVM16に上げた https://github.com/shiika-lang/shiika/pull/509
複文の扱いを改善 https://github.com/shiika-lang/shiika/pull/511
(a; b; c)
ビジターパターン https://github.com/shiika-lang/shiika/pull/512
使わない型引数の削除 https://github.com/shiika-lang/shiika/pull/514
今やっていること
前回 定期ミートアップ 第51回
だいたい動いたがバグがあることがわかった https://github.com/shiika-lang/shiika/pull/510
書き直したほうがよさそう
code:sk
foo.bar do |a, b|
a.baz #=> ???
end
try!の実装
code:sk
let a = b.c.try!
let a = (match b.c
when Ok(x) => x
when err => return err
end)
syntax sugarとして実装する
以下のケースはfooから抜けることとする(未実装)
code:sk
def foo
File.open("a.txt"){|f|
puts f.read_line.try!
}
end
#定期ミートアップ